﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace _8Group.MES.Model.SYS系统管理
{
    /// <summary>
    /// 编码生成规则组成表
    /// </summary>
    public class Sys_Auto_Code_Part : Entity<int>
    {

        /// <summary>
        /// 编码规则ID
        /// </summary>
        public int RuleId { get; set; }

        /// <summary>
        /// 分段序号
        /// </summary>
        public int PartIndex { get; set; }

        /// <summary>
        /// 分段类型
        /// </summary>
        public string? PartType { get; set; }

        /// <summary>
        /// 分段编码
        /// </summary>
        public string? PartCode { get; set; }

        /// <summary>
        /// 分段名称
        /// </summary>
        public string? PartName { get; set; }

        /// <summary>
        /// 分段长度
        /// </summary>
        public int PartLength { get; set; }

        /// <summary>
        /// 日期时间格式
        /// </summary>
        public string? DateFormat { get; set; }

        /// <summary>
        /// 输入字符
        /// </summary>
        public string? InputCharacter { get; set; }

        /// <summary>
        /// 固定字符
        /// </summary>
        public string? FixCharacter { get; set; }

        /// <summary>
        /// 流水号起始值
        /// </summary>
        public int SeriaStartNo { get; set; }

        /// <summary>
        /// 流水号步长
        /// </summary>
        public int SeriaStep { get; set; }

        /// <summary>
        /// 流水号当前值
        /// </summary>
        public int SeriaNowNo { get; set; }

        /// <summary>
        /// 流水号是否循环
        /// </summary>
        public string? CycleFlag { get; set; }

        /// <summary>
        /// 循环方式
        /// </summary>
        public string? CycleMethod { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }



        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateBy { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        public string? UpdateBy { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpDateTime { get; set; }
    }
}
